
def p1():
    f = open("opt/demofile2.txt", "a")
    f.write("Now the file has more content!")
    f.close()